package io.gitee.tooleek.lock.spring.boot.config.zookeeper;

public class ExponentialBackoffRetryConfig {

	private int baseSleepTimeMs=1000;
	private int maxRetries=3;
	private int maxSleepMs = Integer.MAX_VALUE;

	public int getBaseSleepTimeMs() {
		return baseSleepTimeMs;
	}

	public void setBaseSleepTimeMs(int baseSleepTimeMs) {
		this.baseSleepTimeMs = baseSleepTimeMs;
	}

	public int getMaxRetries() {
		return maxRetries;
	}

	public void setMaxRetries(int maxRetries) {
		this.maxRetries = maxRetries;
	}

	public int getMaxSleepMs() {
		return maxSleepMs;
	}

	public void setMaxSleepMs(int maxSleepMs) {
		this.maxSleepMs = maxSleepMs;
	}

}
